<?php

return array(
	'roles' => array(
		array('guest'),
		array('user', 'guest'),
		array('moderator', 'user'),
		array('admin')
	),
	'resources' => array(
		'index',
		'error',
		'user',
		'gps',
		'server:android'
	),
	'permissions' => array(
		array('allow', 'guest', 'index'),
		array('allow', 'guest', 'error'),
		array('allow', 'guest', 'server:android'),
		array('allow', 'guest', 'user', array('login', 'remind', 'register')),
		array('allow', 'user', 'user'),
		array('allow', 'user', 'gps'),
		array('allow', 'admin')
	),
	'defaults' => array(
		'role' => 'guest'
	)
);
